package com.epoint.core;

import com.epoint.core.grammar.Record;

/**
 * @author baB_hyf
 * @date 2021/05/03
 */
public class BaseEntity extends Record {

    public Record set(String key, Object value) {
        put(key, value);
        System.out.printf("set: [key-%s] [value-%s]\n", key, value);
        return this;
    }

    public <T> T get(String key) {
        return (T) get((Object) key);
    }
}
